Vue.component('myheader', {
    template: `<header class="container navbar-fixed-top ">
    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">
                    <img alt="Brand" src="http://www.sinoiov.com/skin/new/img/logo.png">
                </a>
            </div>
            <!--分类开始-->
            <ul class="nav navbar-nav">
                <li><a href="">首页</a></li>
                <li><a href="industryInfo.html">行业咨询</a></li>
                <li><a href="">关于我们</a></li>
                <li><a href="">大卡商城</a></li>
                <li style="display: block;float: right">
                    <form action="">
                        <input type="text" placeholder="Search">
                        <button>
                            <i class="fa fa-search"></i>
                        </button>
                    </form>
                </li>
            </ul>
            <!--分类结束-->
            <ul class="nav navbar-nav navbar-right">
                <li style="display: block;float: right"><a class="fa fa-user-o" href="/login.html">管理员入口</a></li>
            </ul>
        </div>
    </nav>
    </header>
`,
})

let header_v = new Vue({
    el: "myheader"
})